package com.rybbaby.tss.front.tssMemberCheckAttendance.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @description 考勤相关视图
 *
 * @author 何朝一
 *
 * @createDate 2017-08-24 上午12:04:35
 */
@Entity
@Table(name = "view_tss_member_member_check_attendance")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewMemberAttendClassRecord implements Serializable {


	private static final long serialVersionUID = -5347522642459188593L;
	/** 主键 **/
	private String id;
	/** 课节id **/
	private String lessonsId;
	/** 会员Id **/
	private String memberCheckAttendanceMemberId;
	/** 班级Id **/
	private String memberCheckAttendanceClassId;
/*	*//** 已出勤天数 **//*
	private Integer memberCheckAttendanceAlreadyAttendanceDay;*/
	/** 考勤类型 **/
	private Integer memberCheckAttendanceType;
	/** 状态 **/
	private Integer memberCheckAttendanceStatus;
	/** 备注 **/
	private String memberCheckAttendanceRemark;
	/** 当前操作者Id **/
	private String memberCheckAttendanceadminUserId;
	/** 创建时间 **/
	private java.util.Date memberCheckAttendanceCreateTime;
	/** 创建时间 **/
	private java.util.Date memberCheckAttendanceStartTime;
	/** 版本 **/
	private Integer memberCheckAttendanceVersion;
	/** 客户姓名 **/
	private String studentName;
/*	*//** 客户类型 **//*
	private Integer studentType;*/
	/** 联系电话 **/
	private String studentContactPhone;
	/** 老师名字**/
	private String realName;
	/** 课程名称 **/
	private String courseName;
	/** 单节消耗课时 **/
	private Integer classesExpendClassHour;
	/** 班级类型 **/
	private Integer classesType;
	/** 教室名称 **/
	private String classRoomName;
	/** 操作人姓名 **/
	private String userName;



	@Id
	@GeneratedValue(generator = "tss_member_packageIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_member_packageIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "lessonsId", nullable= true, length = 32)
	public String getLessonsId() {
		return lessonsId;
	}

	public void setLessonsId(String lessonsId) {
		this.lessonsId = lessonsId;
	}

	@Column(name = "memberCheckAttendanceMemberId", nullable= true, length = 32)
	public String getMemberCheckAttendanceMemberId() {
		return memberCheckAttendanceMemberId;
	}

	public void setMemberCheckAttendanceMemberId(String memberCheckAttendanceMemberId) {
		this.memberCheckAttendanceMemberId = memberCheckAttendanceMemberId;
	}

	@Column(name = "memberCheckAttendanceClassId", nullable= true, length = 32)
	public String getMemberCheckAttendanceClassId() {
		return memberCheckAttendanceClassId;
	}

	public void setMemberCheckAttendanceClassId(String memberCheckAttendanceClassId) {
		this.memberCheckAttendanceClassId = memberCheckAttendanceClassId;
	}

/*	@Column(name = "memberCheckAttendanceAlreadyAttendanceDay", nullable= true, length = 32)
	public Integer getMemberCheckAttendanceAlreadyAttendanceDay() {
		return memberCheckAttendanceAlreadyAttendanceDay;
	}

	public void setMemberCheckAttendanceAlreadyAttendanceDay(Integer memberCheckAttendanceAlreadyAttendanceDay) {
		this.memberCheckAttendanceAlreadyAttendanceDay = memberCheckAttendanceAlreadyAttendanceDay;
	}*/

	@Column(name = "memberCheckAttendanceType", nullable= true, length = 11)
	public Integer getMemberCheckAttendanceType() {
		return memberCheckAttendanceType;
	}

	public void setMemberCheckAttendanceType(Integer memberCheckAttendanceType) {
		this.memberCheckAttendanceType = memberCheckAttendanceType;
	}

	@Column(name = "memberCheckAttendanceStatus", nullable= true, length = 11)
	public Integer getMemberCheckAttendanceStatus() {
		return memberCheckAttendanceStatus;
	}

	public void setMemberCheckAttendanceStatus(Integer memberCheckAttendanceStatus) {
		this.memberCheckAttendanceStatus = memberCheckAttendanceStatus;
	}

	@Column(name = "memberCheckAttendanceRemark", nullable= true, length = 11)
	public String getMemberCheckAttendanceRemark() {
		return memberCheckAttendanceRemark;
	}

	public void setMemberCheckAttendanceRemark(String memberCheckAttendanceRemark) {
		this.memberCheckAttendanceRemark = memberCheckAttendanceRemark;
	}

	@Column(name = "memberCheckAttendanceadminUserId", nullable= true, length = 32)
	public String getMemberCheckAttendanceadminUserId() {
		return memberCheckAttendanceadminUserId;
	}

	public void setMemberCheckAttendanceadminUserId(String memberCheckAttendanceadminUserId) {
		this.memberCheckAttendanceadminUserId = memberCheckAttendanceadminUserId;
	}

	@Column(name = "memberCheckAttendanceCreateTime", nullable= true, length = 19)
	public java.util.Date getMemberCheckAttendanceCreateTime() {
		return memberCheckAttendanceCreateTime;
	}

	public void setMemberCheckAttendanceCreateTime(java.util.Date memberCheckAttendanceCreateTime) {
		this.memberCheckAttendanceCreateTime = memberCheckAttendanceCreateTime;
	}

	@Column(name = "memberCheckAttendanceStartTime", nullable= true, length = 19)
	public Date getMemberCheckAttendanceStartTime() {
		return memberCheckAttendanceStartTime;
	}

	public void setMemberCheckAttendanceStartTime(Date memberCheckAttendanceStartTime) {
		this.memberCheckAttendanceStartTime = memberCheckAttendanceStartTime;
	}

	@Column(name = "memberCheckAttendanceVersion", nullable= true, length = 11)
	public Integer getMemberCheckAttendanceVersion() {
		return memberCheckAttendanceVersion;
	}

	public void setMemberCheckAttendanceVersion(Integer memberCheckAttendanceVersion) {
		this.memberCheckAttendanceVersion = memberCheckAttendanceVersion;
	}

	@Column(name = "studentName", nullable= true, length = 12)
	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	/*@Column(name = "studentType", nullable= true, length = 11)
	public Integer getStudentType() { return studentType; }

	public void setStudentType(Integer studentType) { this.studentType = studentType; }*/


	@Column(name = "studentContactPhone", nullable= true, length = 11)
	public String getStudentContactPhone() {
		return studentContactPhone;
	}

	public void setStudentContactPhone(String studentContactPhone) {
		this.studentContactPhone = studentContactPhone;
	}

	@Column(name = "realName", nullable= true, length = 12)
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	@Column(name = "courseName", nullable= true, length = 100)
	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	@Column(name = "classesExpendClassHour", nullable= true, length = 11)
	public Integer getClassesExpendClassHour() {
		return classesExpendClassHour;
	}

	public void setClassesExpendClassHour(Integer classesExpendClassHour) {
		this.classesExpendClassHour = classesExpendClassHour;
	}

	@Column(name = "classesType", nullable= true, length = 11)
	public Integer getClassesType() {
		return classesType;
	}

	public void setClassesType(Integer classesType) {
		this.classesType = classesType;
	}

	@Column(name = "classRoomName", nullable= true, length = 32)
	public String getClassRoomName() {
		return classRoomName;
	}

	public void setClassRoomName(String classRoomName) {
		this.classRoomName = classRoomName;
	}

	@Column(name = "userName", nullable= true, length = 32)
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}







}